package tienich360.com.lib;

import android.app.Activity;
import android.content.Intent;

public class SMS_Intent {

	public void sms_intent(Activity activity, String syntax, String number) {
		Intent smsIntent = new Intent(Intent.ACTION_VIEW);
		smsIntent.setType("vnd.android-dir/mms-sms");
		smsIntent.putExtra("sms_body", syntax);
		smsIntent.putExtra("address", number);
		activity.startActivity(smsIntent);
	}
}
